package com.web.service.impl;

import com.web.entity.PersonHealthInfo;
import com.web.mapper.PersonHealthInfoMapper;
import com.web.service.PersonHealthInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class PersonHealthInfoServiceImpl implements PersonHealthInfoService {

    @Autowired
    private PersonHealthInfoMapper personHealthInfoMapper;
    @Override
    public PersonHealthInfo findByUserIdAndDate(PersonHealthInfo personHealthInfo) {
        PersonHealthInfo byUserIdAndDate = this.personHealthInfoMapper.findByUserIdAndDate(personHealthInfo);
        return byUserIdAndDate;
    }
}
